import { Sequelize } from "sequelize";
import config from "~/config/index";
export default new Sequelize(config.mysql_database, config.mysql_user, config.mysql_password, {
    dialect: "mysql",
    host: config.mysql_host,
    port: config.mysql_port,
    pool: {
        max: 5,
        min: 0,
        acquire: 30000,
        idle: 10000
    }
});